<?php


namespace App\Http\Controllers\Admin;


use App\Tool\Category;
use App\Tool\Json;

class CommonController extends LoginCheckController
{


    function getCategoryList(){


        return Json::code(1,'success',Category::getCategoryByPid(\Config::get('weapp.goods_category_id')));
    }


}
